/*
编写 : Hexh
时间 : 2012-6-26 15:52:09
*/
using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Facade
{
	/// <summary>
	///	 the interface of IInfraSmsFacade
	/// </summary>
	public interface IInfraSmsFacade : IDomainFacade
	{

		InfraSms Get(string id);

		InfraSms Load(string id);

		InfraSms SendSms(InfraSms entity);

		InfraSms SendSms(string itemId, string mobile, string content);

		void SaveOrUpdate(InfraSms entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<InfraSms> GetAll();

		IList<InfraSms> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
